package cn.kmsoft.jssc.entity.analyse;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
 * SpatialBoot叠加分析返回的详细结果
 *
 * @author : cqwensten
 * @description : todo
 * @email : cqwensten@163.com
 * @date : 2023/1/18
 */
public class DetailResult implements Serializable {
    private static final long serialVersionUID = 1L;
    private Map<String,String> feaProps;

    private String bsm;//目标图层的标识码BSM
    private String ysdm;//目标图层的要素代码
    private String tbbh;//图斑编号
    private String bm;//地类编码
    private String mc;//地类名称
    private double fgeoarea;//sde库图斑原几何面积
    private double sgeoarea;//上传范围地块的几何面积

    private double area;//叠加分析的相交几何面积（相交几何面积）
    private double tkarea;//田坎面积
    private double kcarea;//扣除面积
    private double kcharea;//扣除后剩余的净面积
    private double tkxs;//田坎系数

    private String geomText;//空间图形wkt格式坐标
    private String geojson;//空间图形geojson格式坐标

    public DetailResult(){
        this.feaProps= new HashMap<String,String>();
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Map<String, String> getFeaProps() {
        return feaProps;
    }
    public void setFeaProps(Map<String, String> feaProps) {
        this.feaProps = feaProps;
    }

    public double getFgeoarea() {
        return fgeoarea;
    }
    public void setFgeoarea(double fgeoarea) {
        this.fgeoarea = fgeoarea;
    }

    public double getSgeoarea() {
        return sgeoarea;
    }
    public void setSgeoarea(double sgeoarea) {
        this.sgeoarea = sgeoarea;
    }


    public String getBsm() {
        return bsm;
    }
    public void setBsm(String bsm) {
        this.bsm = bsm;
    }

    public String getYsdm() {
        return ysdm;
    }
    public void setYsdm(String ysdm) {
        this.ysdm = ysdm;
    }

    public String getTbbh() {
        return tbbh;
    }
    public void setTbbh(String tbbh) {
        this.tbbh = tbbh;
    }

    public String getGeojson() {
        return geojson;
    }
    public void setGeojson(String geojson) {
        this.geojson = geojson;
    }

    public String getBm() {
        return bm;
    }
    public void setBm(String bm) {
        this.bm = bm;
    }

    public String getMc() {
        return mc;
    }
    public void setMc(String mc) {
        this.mc = mc;
    }


    public double getArea() {
        return area;
    }
    public void setArea(double area) {
        this.area = area;
    }

    public double getKcarea() {
        return kcarea;
    }
    public void setKcarea(double kcarea) {
        this.kcarea = kcarea;
    }

    public double getKcharea() {
        return kcharea;
    }
    public void setKcharea(double kcharea) {
        this.kcharea = kcharea;
    }

    public double getTkxs() {
        return tkxs;
    }
    public void setTkxs(double tkxs) {
        this.tkxs = tkxs;
    }

    public double getTkarea() {
        return tkarea;
    }
    public void setTkarea(double tkarea) {
        this.tkarea = tkarea;
    }

    public String getGeomText() {
        return geomText;
    }
    public void setGeomText(String geomText) {
        this.geomText = geomText;
    }

    @Override
    public String toString() {
        return "DetailResult{" +
                "feaProps=" + feaProps +
                ", bsm='" + bsm + '\'' +
                ", ysdm='" + ysdm + '\'' +
                ", tbbh='" + tbbh + '\'' +
                ", bm='" + bm + '\'' +
                ", mc='" + mc + '\'' +
                ", fgeoarea=" + fgeoarea +
                ", sgeoarea=" + sgeoarea +
                ", area=" + area +
                ", tkarea=" + tkarea +
                ", kcarea=" + kcarea +
                ", kcharea=" + kcharea +
                ", tkxs=" + tkxs +
                ", geomText='" + geomText + '\'' +
                ", geojson='" + geojson + '\'' +
                '}';
    }
}
